package com.example.springbott.service;

import com.example.springbott.bean.MarketStorage;
import com.example.springbott.bean.common.CommonData;
import com.example.springbott.bean.common.PageInfoBase;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;

public interface adminStorageService {
    CommonData adminStorageList(PageInfoBase pageInfoBase, String key, String name);

    MarketStorage adminStorageCreate(HttpServletRequest request,MultipartFile file) throws IOException;

    MarketStorage adminStorageUpdate(MarketStorage marketStorage);

    Integer adminStorageDelete(MarketStorage marketStorage);
}
